<div class="r_crumbs">
  <a href="javascript:;">首页</a>
  <a href="javascript:;">机器人管理</a>
  路径管理
</div>
<div class="r_main">
  <app-alert></app-alert>
  <div class="r_box">
    <div class="r_boxHead">
      <h2>路径新增</h2>
    </div>
    <div class="row">
      <div class="col-md-2"></div>
      <div class="col-md-8">
        <div class="form-group">
          <label for="inputEmail3" class="col-sm-4 control-label logic-text">路径名称</label>
          <div class="col-sm-5 logic-ctr">
            <input type="text" class="form-control" id="inputEmail3" placeholder="路径名称"
                   [(ngModel)]="curaddPathInfo.name">
          </div>
        </div>
        <div class="form-group">
          <label for="inputPassword4" class="col-sm-4 control-label logic-text">路径状态</label>
          <div class="col-sm-5 logic-ctr">
            <select class="form-control" id="inputPassword4" [(ngModel)]="curaddPathInfo.status">
              <option value="" selected>请选择路径状态</option>
              <option value="0">有效</option>
              <option value="1">失效</option>
            </select>
          </div>
        </div>
        <div class="form-group">
          <label for="inputPassword5" class="col-sm-4 control-label logic-text">地图标识</label>
          <div class="col-sm-5 logic-ctr">
            <select class="form-control" id="inputPassword5" [(ngModel)]="curaddPathInfo.mapId">
              <option value="" selected>请选择地图标识</option>
              <option *ngFor="let obj of addPathInfo" value="{{obj.mapId}}">{{obj.name}}</option>
            </select>
          </div>
        </div>
        <div class="form-group">
          <label for="inputPassword6" class="col-sm-4 control-label logic-text">文件上传</label>
          <div class="col-sm-5 logic-ctr">
            <input type="file" ng2FileSelect [uploader]="uploader" (change)="selectedFileOnChanged($event)"
                   id="inputPassword6" accept="image/png,image/jpeg,image/jpg"/>
          </div>
        </div>
        <div class="form-group">
          <label for="inputPassword7" class="col-sm-4 control-label"></label>
          <div class="col-sm-5 logic-ctr">
            <button type="button" class="btn btn-info" id="inputPassword7" (click)="onAddPa()">保存</button>
          </div>
        </div>
      </div>
      <div class="col-md-2"></div>
    </div>
    <div style="width: 200px;height: 200px;margin: 0 auto;">
      <img src="{{imgUrl}}" alt="" style="width: 200px;height: 200px;margin: 0 auto;">
    </div>
  </div>
</div>


